package com.xcesys.extras.testcase.ws;

import org.junit.Test;

import com.xcesys.extras.dataobject.system.User;
import com.xcesys.extras.remoting.system.RSystemManagementService;
import com.xcesys.extras.test.ws.AbstractWSRemoteTestCase;

public class SystemManagerServiceTestCase extends AbstractWSRemoteTestCase {

	@Test
	public void findUserById() {
		RSystemManagementService service = (RSystemManagementService) getServiceBean("systemManagementService");

		long mills = System.currentTimeMillis();

		User user = service.doFindUserById(Long.valueOf(1));
		System.out.println(user);
		System.out.println("doFindUserById ellapse:"
				+ (System.currentTimeMillis() - mills));
	}
}
